package com.example.qxfw.qxxx.service.impl;

import com.example.qxfw.common.entity.qx.ZwDoppler;
import com.example.qxfw.qxxx.mapper.ZwDopplerMapper;
import com.example.qxfw.qxxx.service.ZwDopplerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ZwDopplerServiceImpl implements ZwDopplerService {

    @Autowired
    private ZwDopplerMapper zwDopplerMapper;

    @Override
    public List<String> getIdType() {
        return zwDopplerMapper.selectIdType();
    }

    @Override
    public List<ZwDoppler> getMaxTime() {
        return zwDopplerMapper.selectMaxTime();
    }

    @Override
    public List<ZwDoppler> getList(String dateChar, String timeChar1, String timeChar2, String idType) {
        return zwDopplerMapper.selectList(dateChar,timeChar1,timeChar2,idType);
    }

    @Override
    public List<ZwDoppler> getList(String dateChar1, String timeChar1, String dateChar2, String timeChar2, String idType) {
        return zwDopplerMapper.selectLists(dateChar1,timeChar1,dateChar2,timeChar2,idType);
    }
}
